/**
 * @Company:中享思途   
 * @Title:ProductService.java 
 * @Author:IL Clown   
 * @Date:2020年8月20日 下午5:11:10     
 */
package com.situ.shopsystem.service;

import java.util.List;

import javax.servlet.http.HttpSession;

import org.springframework.web.multipart.MultipartFile;

import com.situ.shopsystem.pojo.LayuiResult;
import com.situ.shopsystem.pojo.Product;

/** 
 * @ClassName:ProductService 
 * @Description:(这里用一句话描述这个类的作用)  
 */
public interface ProductService {
	int save(Product product, HttpSession session);

	int delete(Long rowId);

	int update(Product product, HttpSession session);

	Product findOne(Long rowId);

	String uploadFile(MultipartFile multipartFile, String realPath);

	void changeState(Long rowId);

	LayuiResult findAll(Integer page, Integer limit, Product product);

	List<Product> findAllBy();

}
